IApi.EnableMaxCurrent method

Adds the Maximum Current variable to PDO.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsError EnableMaxCurrent(
       bool Active
)
Function EnableMaxCurrent(
       Active As Boolean
) As KsError

Parameters

Active

Type: bool

true: The Maximum Current variable is mapped to PDO. false: Not mapped to PDO. By default, it is false.

Return value

Type: KsError

A return code of a method.

Remarks

This method must be called after Create and before Start.

Usable EtherCAT states

ecatOffline

Examples

C#
N/A

See also

IApi Interface

IntervalZero.KINGSTAR.Base.Api Namespace